package com.cuvretool.view.mousekeyboard;

import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;

import com.cuvretool.utils.Vector2;
import com.cuvretool.view.BaseJPanel;
/**
 * 鼠标事件
 * since 2015年3月12日 下午2:18:54
 * @author boy
 */
public class CurveToolMouseEvent implements MouseListener,MouseMotionListener,MouseWheelListener{
	// ===========================================================
	// Constants
	// ===========================================================

	// ===========================================================
	// Fields
	// ===========================================================
	/**生效的JPanel*/
	protected BaseJPanel mBaseJPanel;
	/**鼠标左右键按下时记录*/
	protected Vector2 mPressedLeft,mPressedRight;
	/**鼠标左右键按下时记录*/
	protected Vector2 mMoveLeft,mMoveRight;
	/**鼠标左右键是否按下*/
	protected boolean isPressedLeft,isPressedRight;
	// ===========================================================
	// Constructors
	// ===========================================================

	// ===========================================================
	// Getter & Setter
	// ===========================================================
	/**
	 * 设置对应BaseJPanel
	 * @param baseJPanel
	 */
	public void setBaseJPanel(BaseJPanel baseJPanel){
		mBaseJPanel = baseJPanel;
	}
	// ===========================================================
	// Methods for/from SuperClass/Interfaces
	// ===========================================================
	
	//MouseListener
	@Override
	public void mouseClicked(java.awt.event.MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mousePressed(java.awt.event.MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseReleased(java.awt.event.MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseEntered(java.awt.event.MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseExited(java.awt.event.MouseEvent e) {
		// TODO Auto-generated method stub
		
	}
	
	//MouseMotionListener
	@Override
	public void mouseDragged(java.awt.event.MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseMoved(java.awt.event.MouseEvent e) {
		// TODO Auto-generated method stub
		
	}
	
	//MouseWheelListener
	@Override
	public void mouseWheelMoved(MouseWheelEvent e) {
		// TODO Auto-generated method stub
		
	}
	// ===========================================================
	// Methods
	// ===========================================================

	// ===========================================================
	// Inner and Anonymous Classes
	// ===========================================================
}
